<div class="loding_context" *ngIf="loading" id="loding_context"></div>
<div class="modal fade" aria-labelledby="myModalLabel" aria-hidden="true" *ngIf="initService.init" id="keywordExport">
    <div class="modal-dialog delete-modal modal-dialog-centered">

        <div class="modal-content">
            <form #addForm="ngForm" (ngSubmit)="_export(addForm.value)">
                <div class="modal-header">
                    <h4 class="modal-title text-center">发布主题词</h4>
                </div>
                <div class="modal-body text-center">
                    <!-- <mat-progress-spinner class="example-margin" [color]="color" [mode]="mode" [value]="value"></mat-progress-spinner> -->
                    <div class="container">
                        <!-- <div class="input_div">
                            <label class="input_title">导出类型：</label>
                            <select class="input_inputStyle" name="exportType" #exportType="ngModel" [(ngModel)]="exportThemeType"
                                style="width: calc(100% - 100px);">
                                <option value="xml">XML</option>
                                <option value="excel">EXCEL</option>
                            </select>
                        </div> -->
                        <div class="input_div">
                            <label class="input_title">主题词表：</label>
                            <select class="input_inputStyle" name="themeTableId" #themeTableId="ngModel" [(ngModel)]="ttId"
                                style="width: calc(100% - 100px);">
                                <option value="">全部</option>
                                <option *ngFor="let val of tabListVal" value="{{val.themeTableId}}">{{val.name}}</option>
                            </select>
                        </div>
                        <!-- <div class="input_div">
                            <label class="input_title">导出路径：</label>
                            <select class="input_inputStyle" name="pathCode" #pathCode="ngModel" [(ngModel)]="exportPathCode"
                                style="width: calc(100% - 100px);">
                                <option value="">请选择</option>
                                <option *ngFor="let val of exportPathList" value="{{val.pathCode}}">{{val.pathName}}</option>
                            </select>
                        </div> -->
                        <div class="input_div">
                            <label class="input_title" style="float: left;">描述：</label>
                            <textarea style="width: calc(100% - 100px); height: auto;" rows="5" class="input_inputStyle"
                                name="description" #description="ngModel" ngModel placeholder="描述"></textarea>
                        </div>
                    </div>
                </div>
                <div class="modal-footer" style="width: 100%;">
                    <button type="button" class="btn btn-default" data-dismiss="modal" (click)="initService._init()">取消</button>
                    <button type="submit" class="btn btn-primary" data-toggle="modal" [disabled]="addForm.invalid">确定</button>
                </div>
            </form>
        </div>
    </div>
</div>